extends layout

block append links 
    <link rel="stylesheet" href="/css/login.css">
block content 
    <div class="container">
    <div class="row">
        <div class="col-md-4 col-sm-4"></div>
        <div class="well col-md-4 col-sm-4">
            <h1 class="text-center">欢迎使用宿舍管理系统</h1>
            <div id="error_span" style="color:red">#{msg}</div>
            <form name="myForm" method="post" action="/login.do">
                <div class="form-group">
                    <input type="text" class="form-control" value="#{cookiesBean ? cookiesBean.account : '' }"  name="account" placeholder="账号">
                </div>
                <div class="form-group">
                    <input type="password" class="form-control" value="#{cookiesBean ? cookiesBean.password : '' }" name="password" placeholder="密码">
                </div>
                <div style="text-align: center" id="radiodiv">
                    <input type="radio" name="identity"> 系统管理员
                    <input type="radio" name="identity"> 宿舍管理员
                    <input type="radio" name="identity"> 学生
                    <input name="rem" value="1" type="checkbox"> 记住我

                </div>
                <br>
                <div class="form-group" style="text-align: center">
                    <button type="sumbit" class="btn btn-primary" value="提交" id="sbtn" onclick="login(event);">登录
                    </button>
                    <button type="button" class="btn btn-primary ">重置
                    </button>
                </div>
                <div style="text-align: center"> 版权无所有 </div>
            </form>
        </div>
        <div class="col-md-4 col-sm-4" ></div>
    </div>  
    </div>
block append scripts 
    <script src="/js/login.js"></script>